package com.triones.yjj.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.triones.yjj.entity.bo.ActivityListParams;
import com.triones.yjj.entity.bo.MemberGroupPurchaseBO;
import com.triones.yjj.entity.vo.*;

import java.util.List;
import java.util.Map;

/**
 * 活动 service 接口
 *
 * @Author: triones
 */
public interface MemberGroupPurchaseService {

    MemberGroupPurchaseVO selectVoById(Long id);

    /**
     * 创建团
     * @param memberGroupPurchaseBO
     * @return
     */
    Long createMemberGroupPurchase(MemberGroupPurchaseBO memberGroupPurchaseBO);

    TableDataInfo<WxMemberGroupPurchaseVO> selectPageList(Long activityId, PageQuery pageQuery);
    /**
     * 查询团信息及团成员信息
     * @param id
     * @return
     */
    Map getMemberGroupPurchaseAndItem(Long id);

    /** 查询客户活动参团信息
     * @param memberId
     * @return
     */
    Map getMemberGroupPurchaseAndItemInfo(Long activityId,Long memberId);

}
